﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.Generic;
using RecorderSound.ViewModel;
using Microsoft.Practices.Prism.ViewModel;
using Microsoft.Practices.Prism.Commands;

namespace RecorderSound.Model
{
    public class List : NotificationObject
    {
        public List(string Name)
        {
            name = Name;
        }
        //public List<ViewModelListItem> soundlist = new List<ViewModelListItem>();
        public string _name { get; set; }
        
        public string name
        {
            get { return _name; }
            set
            {

                _name = value;
                this.RaisePropertyChanged(() => name);
            }
        }
        








        /*
        public void AddToList( string Name)
        {
            
            //item.name = Name;
            ViewModelListItem name = new ViewModelListItem();
            name.name = Name;
            soundlist.Add(name);
            //return name;
            
        }
     */
    }
}
